package com.management.po;

/**
 * @author ls
 * @category 部门表
 */
public class Dept {
    /**
     * 部门编号
     */
    private int deptId;
    /**
     * 公司编号
     */
    private int companyId;
    /**
     * 部门名称
     */
    private String deptName;

    @Override
    public String toString() {
        return "Dept{" +
                "deptId=" + deptId +
                ", companyId='" + companyId + '\'' +
                ", companyName='" + deptName + '\'' +
                '}';
    }

    public Dept() {
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Dept(int deptId, int companyId, String deptName) {
        this.deptId = deptId;
        this.companyId = companyId;
        this.deptName = deptName;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }



}
